package com.fz.entity;

import com.fz.core.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * <p>
 * 区域管理表
 * </p>
 *
 * @author fz
 * @since 2024-08-23
 */
@Data

@NoArgsConstructor
public class Region extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 区域名称
     */
    private String name;

    /**
     * 区域地址
     */
    private String address;

    /**
     * 区域状态
     */
    private Boolean status;

   public Region(String name, String address) {
       this.name = name;
       this.address = address;
       status = true;
   }

   public Region(long id,String name, String address) {
       super(id);
       this.name = name;
       this.address = address;
       status = true;
   }

   public Region(long id, Boolean status) {
       super(id);
       this.status = status;
   }
}
